@import "color/colors";

// Prefix
@css-prefix             : zz-;
@css-prefix-iconfont    : zz-icon;
// ----------------------start---------------------------
@theme: #2d8cf0;

// Color
// 主色
@primary-color          : @theme;
@info-color             : #4a90e2;
@success-color          : #36b876;
@processing-color       : @primary-color;
@warning-color          : #f5a623;
@error-color            : #f1420f;
@normal-color           : #e6ebf1;
@link-color             : #657dbc;
@link-hover-color       : #4a5d91;
@link-active-color      : shade(@link-color, 5%);
@selected-color         : fade(@primary-color, 90%);
@tooltip-color          : #fff;
@subsidiary-color       : #808695;
@rate-star-color        : #f5a623;
@white: #fff;
@black: #000;

// 链接
@link-color: #657dbc;
// 链接移入
@link-hover-color: #4a5d91;
// 主要按钮背景
@main-btn-color: @theme;
// 主要文字
@main-t-color: #000000;
// 辅助文本
@supplementary-t-color: #999999;
// 纵导航面板色
@navigation-color: #2d8cf0;
// 纵导航文字高亮色
@navigation-color-highlight: #FFFFFF;
// 图标默认色
@icon-color-default: #7d8293;
// 失效文本/图标
@disabled-t-color: #c7c8cc;

// ----------------------end---------------------------
@brand-color: @theme;

// Base
@body-background        : #fff;
@component-background   : #fff;
@font-family            : "PingFang SC","Microsoft YaHei","微软雅黑","Helvetica Neue",Helvetica,"Hiragino Sans GB",Arial,sans-serif,sans-serif;
@font-title-family      : "PingFangSC-Medium","Microsoft YaHei","微软雅黑","Helvetica Neue",Helvetica,"Hiragino Sans GB",Arial,sans-serif,sans-serif;
@font-content-family    : "PingFangSC-Regular","Microsoft YaHei","微软雅黑","Helvetica Neue",Helvetica,"Hiragino Sans GB",Arial,sans-serif,sans-serif;
@code-family            : Consolas,Menlo,Courier,monospace;
@title-color            : #17233d;
@text-color             : #515a6e;
@text-color-secondary: fade(@black, 45%);
@heading-color: fade(#000, 85%);
@heading-color-dark: fade(@white, 100%);
@font-size-base         : 12px;
@font-size-small        : 10px;
@font-size-large        : @font-size-base + 2px;
@line-height-base       : 1.5;
@line-height-computed   : floor((@font-size-base * @line-height-base));
@border-radius-base     : 2px;
@border-radius-small    : 1px;
@cursor-disabled        : not-allowed;

// vertical paddings
@padding-lg: 24px; // containers
@padding-md: 16px; // small containers and buttons
@padding-sm: 12px; // Form controls and items
@padding-xs: 8px; // small items

// Border color
@border-color-base      : #dcdee2;  // outside
@border-color-split     : #e8eaec;  // inside
@border-width-base      : 1px;            // width of the border for a component
@border-style-base      : solid;          // style of a components border
@border-color-base-btn-default: #d1d3d9;

// Background color
@background-color-base        : #f7f7f7;  // base
@background-color-select-hover: @input-disabled-bg;
@tableHeight-bg                   : rgba(70, 76, 91, .9);
@head-bg                      : #f9fafc;
@table-thead-bg               : #f8f8f9;
@table-td-stripe-bg           : #f8f8f9;
@table-td-hover-bg            : #ebf7ff;
@table-td-highlight-bg        : #ebf7ff;
@menu-dark-title              : #515a6e;
@menu-dark-active-bg          : #363e4f;
@menu-dark-subsidiary-color   : rgba(255,255,255,.7);
@menu-dark-group-title-color  : rgba(255,255,255,.36);
@date-picker-cell-hover-bg    : #e1f0fe;

// Shadow
@shadow-color           : rgba(0, 0, 0, .2);
@shadow-base            : @shadow-down;
@shadow-card            : 0 1px 1px 0 rgba(0,0,0,.1);
@shadow-up              : 0 -1px 6px @shadow-color;
@shadow-down            : 0 1px 6px @shadow-color;
@shadow-left            : -1px 0 6px @shadow-color;
@shadow-right           : 1px 0 6px @shadow-color;

// Radio
@radio-group-primary-color: @primary-color;
@radio-group-main-t-color: @main-t-color;
@radio-group-border-color-default: #d6d8de;

// Button
@btn-font-weight        : normal;
@btn-padding-base       : 3px 8px 4px;
@btn-padding-large      : 4px 8px 4px;
@btn-padding-small      : 1px 8px 2px;
@btn-padding-base-icon  : 5px 15px 6px;
@btn-padding-large-icon : 6px 15px 6px 15px;
@btn-padding-small-icon : 1px 7px 2px;
@btn-font-size          : 12px;
@btn-font-size-large    : 12px;
@btn-border-radius      : 2px;
@btn-border-radius-small  : @btn-border-radius;
@btn-group-border       : shade(@main-btn-color, 5%);

@btn-disable-color      : #afb1b7;
@btn-disable-bg         : rgba(0,0,0,0.03);
@btn-disable-border     : #d1d3d9;

@btn-default-color      : @text-color;
@btn-default-bg         : #fff;
@btn-default-border     : @border-color-base-btn-default;

@btn-primary-color      : #fff;
@btn-primary-bg         : @main-btn-color;

@btn-ghost-color        : @text-color;
@btn-ghost-bg           : #fff;
@btn-ghost-border       : @border-color-base;

@btn-circle-size        : 28px;
@btn-circle-size-large  : 32px;
@btn-circle-size-small  : 24px;

// Layout and Grid
@grid-columns                : 24;
@grid-gutter-width           : 0;
@layout-body-background      : #f5f7f9;
@layout-header-background    : #515a6e;
@layout-header-height        : 64px;
@layout-header-padding       : 0 50px;
@layout-footer-padding       : 24px 50px;
@layout-footer-background    : @layout-body-background;
@layout-sider-background     : @layout-header-background;
@layout-trigger-height       : 48px;
@layout-trigger-color        : #fff;
@layout-zero-trigger-width   : 36px;
@layout-zero-trigger-height  : 42px;

// Legend
@legend-color           : #999;

// Input
@input-height-base           : 30px;
@input-height-large          : 36px;
@input-height-small          : 24px;

@input-padding-horizontal    : 7px;
@input-padding-vertical-base : 4px;
@input-padding-vertical-small: 1px;
@input-padding-vertical-large: 6px;

@input-placeholder-color     : @btn-disable-color;
@input-color                 : @text-color;
@input-border-color          : @border-color-base;
@input-bg                    : #fff;
@input-group-bg              : #f8f8f9;

@input-hover-border-color    : @primary-color;
@input-focus-border-color    : @primary-color;
@input-disabled-bg           : #f3f3f3;

// Tag
@tag-font-size          : 12px;

// Media queries breakpoints
// Extra small screen / phone
@screen-xs              : 480px;
@screen-xs-min          : @screen-xs;
@screen-xs-max          : (@screen-xs-min - 1);

// Small screen / tablet
@screen-sm              : 576px;
@screen-sm-min          : @screen-sm;
@screen-sm-max          : (@screen-sm-min - 1);

// Medium screen / desktop
@screen-md              : 768px;
@screen-md-min          : @screen-md;
@screen-md-max          : (@screen-md-min - 1);

// Large screen / wide desktop
@screen-lg              : 992px;
@screen-lg-min          : @screen-lg;
@screen-lg-max          : (@screen-lg-min - 1);

// Extra large screen / full hd
@screen-xl              : 1200px;
@screen-xl-min          : @screen-xl;
@screen-xl-max          : (@screen-xl-min - 1);

// Extra extra large screen / large descktop
@screen-xxl             : 1600px;
@screen-xxl-min         : @screen-xxl;
@screen-xxl-max         : (@screen-xxl-min - 1);

// Z-index
@zindex-spin            : 8;
@zindex-affix           : 10;
@zindex-back-top        : 10;
@zindex-select          : 900;
@zindex-modal           : 1000;
@zindex-drawer          : 1000;
@zindex-message         : 1010;
@zindex-notification    : 1010;
@zindex-tableHeight         : 1060;
@zindex-transfer        : 1060;
@zindex-loading-bar     : 2000;
@zindex-spin-fullscreen : 2010;

// Animation
@animation-time         : .3s;
@animation-time-quick   : .15s;
@transition-time        : .2s;
@ease-in-out            : ease-in-out;

// Slider
@slider-color              : tint(@primary-color, 20%);
@slider-height             : 4px;
@slider-margin             : 16px 0;
@slider-button-wrap-size   : 18px;
@slider-button-wrap-offset : -5px;
@slider-disabled-color     : #ccc;

// Avatar
@avatar-size-base: 32px;
@avatar-size-lg: 40px;
@avatar-size-sm: 24px;
@avatar-font-size-base: 18px;
@avatar-font-size-lg: 24px;
@avatar-font-size-sm: 14px;
@avatar-bg: #ccc;
@avatar-color: #fff;
@avatar-border-radius: @border-radius-small;

// Anchor
@anchor-border-width: 2px;

// List
@list-header-background: transparent;
@list-footer-background: transparent;
@list-empty-text-padding: @padding-md;
@list-item-padding: @padding-sm 0;
@list-item-meta-margin-bottom: @padding-md;
@list-item-meta-avatar-margin-right: @padding-md;
@list-item-meta-title-margin-bottom: @padding-sm;


// card
@card-border-color: #eaecf1;

// select
@select-modal-bg: #f7f8fa;
@select-loadding-color: @theme;
@select-tag-bg: rgba(66, 70, 86, 0.05);

// table
@tableColor: #eaecf1;
@tableHeaderBg: #f2f4f5;
@tableHeaderColor: #e7f8fa;
@tableHoverBg: #f6f7f9;
@date-picker-header-bg: #f7f8fa;
@date-picker-cell-hover-bg: fade(@primary-color, 5%);
@radio-check-bg: fade(@primary-color, 5%);

// 侧滑菜单
@sider-menu-main-color: #fff; 
@sider-menu-search-mian-color:#282c43;
@sider-menu-bg:#282c43;
@sider-menu-line-color:#eaecf1;
@sider-menu-line-color2:rgba(255, 255, 255, 0.2);
@sider-submenu-bg:#1c1f33;
@sider-menu-hover-bg:#282c43;
@sider-menu-active-color: @primary-color;
@sider-menu-active-font-color: @primary-color;
@sider-menu-active-shadow-color: shade(@primary-color,40%);
@sider-menu-color: rgba(255,255,255,0.5);
@sider-menu-color2: rgba(255,255,255, 0.98);

// 侧滑菜单 自定义主题色
@sider-menu-cus-bg:@navigation-color;
@sider-submenu-cus-bg: rgba(0,0,0,0.06);
@sider-menu-cus-hover-bg:@sider-menu-cus-bg;
@sider-menu-cus-active-color: @navigation-color-highlight;
@sider-menu-cus-active-font-color: @navigation-color-highlight;
@sider-menu-cus-active-shadow-color: rgba(248,250,253,0.42);
